<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header">

</head>
<link rel="stylesheet" th:href="@{/css/bootstrap.css}">
<link rel="stylesheet" th:href="@{/css/bootstrap-theme.css}">
<link rel="stylesheet" th:href="@{/css/game.css}">
<body>
<nav th:replace="layouts::navbar"></nav>

<div class="container">
    <div class = "panel panel-primary">
        <h3 class="panel-title">游戏账号注册</h3>
    </div>
    <form th:action="@{/players/save}" th:object="${player}" method="POST">
        <input type="text" placeholder="账户名称" th:field="${player.name}">
        <input type="text" placeholder="邮箱" th:field="${player.email}">
        <input type="text" placeholder="输入账号绑定微信" th:field="${player.wechatId}">



        <button type="submit">创建游戏账户</button>
    </form>
</div>
<script src="../../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../../js/demo.js" type="text/javascript"></script>
</body>
</html>